package demo5;



interface A{
    void func1();
}
interface B{
    void func2();
}
interface C extends A,B{
    void func3();
}
class D implements C{

    @Override
    public void func1() {
        System.out.println("重写::func1()");
    }
    @Override
    public void func2() {
        System.out.println("重写::func2()");
    }
    @Override
    public void func3() {
        System.out.println("重写::func3()");
    }

}
public class Test {

    public static void main(String[] args) {

    }
}
